
import { constantRoutes } from '@/router'

export default {
  namespaced: true,
  state: {
    routes: constantRoutes

  },
  mutations: {
    setRoute(state, otherRoutes) {
      state.routes = [...constantRoutes, ...otherRoutes]
    }
  }

}
